﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Views/Shared/Site.Master" Inherits="System.Web.Mvc.ViewPage<Brjostagjof.Models.NewsArticleViewModel>" %>

<asp:Content ID="Content1" ContentPlaceHolderID="TitleContent" runat="server">
	Brjóstagjöf - Nýjustu fréttir
</asp:Content>

<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">

    <h1>Fréttir</h1>
    <div>
        <% Html.RenderPartial("PartialViews/AllNewsArticles", Model.newsArticles); %>
        </div>
</asp:Content>

<asp:Content ID="Content3" ContentPlaceHolderID="Actions" runat="server">
    <% Html.RenderPartial("PartialViews/Actions",  "Frett" ); %>
</asp:Content>